// QSFLAME.RC - "cosmic recursive fractal flames"
// GNU version by Scott Draves <http://scottdraves.com> Copyright (C) 1992
// W95 version by Michael Sargent <msargent@zoo.uvm.edu> Copyright (C) 1999
// Revisions by Michael Sargent <msargent@uvm.edu> Copyright (C) 2018
/*=========================================================================
   This is unsupported, non-standard software. It is provided "as is" and
   any express or implied warranties, including, but not limited to, the
   implied warranties of merchantability and fitness for a particular
   purpose are disclaimed. In no event shall the author be liable for any
   direct, indirect, incidental, special, exemplary, or consequential
   damages (including, but not limited to, procurement of substitute goods
   or services; loss of use, data or profits; or business interruption)
   however caused and on any theory of liablility, whether in contract,
   strict liability, or tort (including negligence or otherwise) arising in
   any way out of the use of this software, even if advised of the
   possibility of such damage.
=========================================================================
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, see <https://www.gnu.org/licenses/>.
//=======================================================================*/
// This is the resource script for QSFLAME.C
//=========================================================================
#include <windows.h>
#include "QSFlame.h"

QSFLAMEICON  ICON QSFLAME.ICO

QSSPLASH1BITMAP BITMAP SPLASH1.BMP
QSSPLASH2BITMAP BITMAP SPLASH2.BMP
QSABOUTBITMAP BITMAP ABOUT.BMP

QSFLAMEMENU MENU
{
	POPUP "&File"
	{
      MENUITEM "&Load Palette\tF3", IDM_LOADPAL
      MENUITEM "Load &Parameter Set\tAlt + F3", IDM_LOADPRM
      MENUITEM SEPARATOR
      MENUITEM "&Save Image\tF2", IDM_SAVEIMAGE
      MENUITEM "Save Para&meter Set\tAlt + F2", IDM_SAVEPRM
      MENUITEM SEPARATOR
		MENUITEM "E&xit\tEsc", IDM_EXIT
	}
	POPUP "&Parameters"
	{
      MENUITEM "&Image Size\tF4", IDM_IMAGE
      MENUITEM SEPARATOR
		MENUITEM "I&mage Parameters\tF5", IDM_IMAGEPRM
      MENUITEM "&Coefficients\tAlt + F5", IDM_COEF
		MENUITEM "Color &Parameters\tShift + F5", IDM_COLORPRM, GRAYED
      MENUITEM SEPARATOR
      MENUITEM "&New Random Set\tF6", IDM_NEWRAND
	}
	POPUP "&Render"
	{
		MENUITEM "&New Image\tF7", IDM_NEWIMAGE
      MENUITEM "&Re-Iterate\tF8", IDM_REITERATE
      MENUITEM "Infinite Iteration\tAlt + F8", IDM_INFINITE
      MENUITEM "&Un-Zoom\tF9", IDM_UNZOOM
      MENUITEM SEPARATOR
      MENUITEM "Apply &Filter\tF11", IDM_APPLY, GRAYED
      MENUITEM SEPARATOR
      MENUITEM "Apply &Brightness\tAlt + F11", IDM_BRIGHT, GRAYED
      MENUITEM "Apply &Gamma\tShift + F11", IDM_GAMMA, GRAYED
	}
	POPUP "&Help"
	{
		MENUITEM "&Help\tF1", IDM_HELP
      MENUITEM SEPARATOR
		MENUITEM "&About\tF12", IDM_ABOUT
	}
}

QSFLAMEMENU ACCELERATORS
{
	VK_F1, IDM_HELP, VIRTKEY
   VK_F2, IDM_SAVEIMAGE, VIRTKEY
   VK_F2, IDM_SAVEPRM, ALT, VIRTKEY
	VK_F3, IDM_LOADPAL, VIRTKEY
	VK_F3, IDM_LOADPRM, ALT, VIRTKEY
	VK_F4, IDM_IMAGE, VIRTKEY
	VK_F5, IDM_IMAGEPRM, VIRTKEY
   VK_F5, IDM_COEF, ALT, VIRTKEY
   VK_F5, IDM_COLORPRM, SHIFT, VIRTKEY
	VK_F6, IDM_NEWRAND, VIRTKEY
	VK_F7, IDM_NEWIMAGE, VIRTKEY
   VK_F8, IDM_REITERATE, VIRTKEY
   VK_F8, IDM_INFINITE, ALT, VIRTKEY
   VK_F9, IDM_UNZOOM, VIRTKEY
   VK_F11, IDM_APPLY, VIRTKEY
   VK_F11, IDM_BRIGHT, ALT, VIRTKEY
   VK_F11, IDM_GAMMA, SHIFT, VIRTKEY
   VK_F12, IDM_ABOUT, VIRTKEY
	VK_ESCAPE, IDM_EXIT, VIRTKEY
}

IDD_DLG_IMAGE DIALOGEX 0, 0, 200, 36
STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Image Dimensions ( 200 - 2000 pixels )"
FONT 8, "MS Sans Serif"
{
   CONTROL "OK", IDOK, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 153, 4, 40, 12
   CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | BS_CENTER |
      WS_CHILD | WS_VISIBLE | WS_TABSTOP, 153, 20, 40, 12
   CONTROL "Edit1", IDC_IEDIT1, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP, 68, 4, 52, 12, 0
   CONTROL "Edit2", IDC_IEDIT2, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP, 68, 20, 52, 12, 0
   CONTROL "width", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      8, 6, 24, 8, 0
   CONTROL "height", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      8, 22, 24, 8, 0
}

IDD_DLG_SHOWPAL DIALOGEX 0, 0, 200, 75
STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION ""
FONT 8, "MS Sans Serif"
{
   CONTROL "Go for it!", IDC_GO, "button", BS_PUSHBUTTON | BS_CENTER |
      WS_CHILD | WS_VISIBLE | WS_TABSTOP, 20, 53, 50, 14
   CONTROL "Try again", IDC_TRY, "button", BS_PUSHBUTTON | BS_CENTER |
      WS_CHILD | WS_VISIBLE | WS_TABSTOP, 75, 53, 50, 14
   CONTROL "Forget it!", IDC_FORGET, "button", BS_PUSHBUTTON | BS_CENTER |
      WS_CHILD | WS_VISIBLE | WS_TABSTOP, 130, 53, 50, 14
}

IDD_CDLG DIALOGEX 0, 0, 370, 180
STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "  Coefficient Selection"
FONT 8, "MS Sans Serif"
{
   CONTROL "Set 1", IDC_CGB1, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE |
      WS_GROUP, 4, 2, 176, 48
   CONTROL "", IDC_CEDIT000, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 12, 12, 48, 12
   CONTROL "", IDC_CEDIT010, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 68, 12, 48, 12
   CONTROL "", IDC_CEDIT020, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 124, 12, 48, 12
   CONTROL "", IDC_CEDIT001, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 12, 30, 48, 12
   CONTROL "", IDC_CEDIT011, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 68, 30, 48, 12
   CONTROL "", IDC_CEDIT021, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 124, 30, 48, 12

   CONTROL "Set 2", IDC_CGB2, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE |
      WS_GROUP, 188, 2, 176, 48
   CONTROL "", IDC_CEDIT100, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 196, 12, 48, 12
   CONTROL "", IDC_CEDIT110, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 252, 12, 48, 12
   CONTROL "", IDC_CEDIT120, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 308, 12, 48, 12
   CONTROL "", IDC_CEDIT101, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 196, 30, 48, 12
   CONTROL "", IDC_CEDIT111, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 252, 30, 48, 12
   CONTROL "", IDC_CEDIT121, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 308, 30, 48, 12

   CONTROL "Set 3", IDC_CGB3, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE |
      WS_GROUP, 4, 52, 176, 48
   CONTROL "", IDC_CEDIT200, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 12, 62, 48, 12
   CONTROL "", IDC_CEDIT210, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 68, 62, 48, 12
   CONTROL "", IDC_CEDIT220, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 124, 62, 48, 12
   CONTROL "", IDC_CEDIT201, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 12, 80, 48, 12
   CONTROL "", IDC_CEDIT211, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 68, 80, 48, 12
   CONTROL "", IDC_CEDIT221, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 124, 80, 48, 12

   CONTROL "Set 4", IDC_CGB4, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE |
      WS_GROUP, 188, 52, 176, 48
   CONTROL "", IDC_CEDIT300, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 196, 62, 48, 12
   CONTROL "", IDC_CEDIT310, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 252, 62, 48, 12
   CONTROL "", IDC_CEDIT320, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 308, 62, 48, 12
   CONTROL "", IDC_CEDIT301, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 196, 80, 48, 12
   CONTROL "", IDC_CEDIT311, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 252, 80, 48, 12
   CONTROL "", IDC_CEDIT321, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 308, 80, 48, 12

   CONTROL "Set 5", IDC_CGB5, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE |
      WS_GROUP, 4, 104, 176, 48
   CONTROL "", IDC_CEDIT400, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 12, 114, 48, 12
   CONTROL "", IDC_CEDIT410, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 68, 114, 48, 12
   CONTROL "", IDC_CEDIT420, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 124, 114, 48, 12
   CONTROL "", IDC_CEDIT401, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 12, 132, 48, 12
   CONTROL "", IDC_CEDIT411, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 68, 132, 48, 12
   CONTROL "", IDC_CEDIT421, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 124, 132, 48, 12

   CONTROL "Set 6", IDC_CGB6, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE |
      WS_GROUP, 188, 104, 176, 48
   CONTROL "", IDC_CEDIT500, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 196, 114, 48, 12
   CONTROL "", IDC_CEDIT510, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 252, 114, 48, 12
   CONTROL "", IDC_CEDIT520, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 308, 114, 48, 12
   CONTROL "", IDC_CEDIT501, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 196, 132, 48, 12
   CONTROL "", IDC_CEDIT511, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 252, 132, 48, 12
   CONTROL "", IDC_CEDIT521, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 308, 132, 48, 12

   CONTROL "OK", IDOK, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 68, 160, 48, 14
   CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | BS_CENTER |
      WS_CHILD | WS_VISIBLE | WS_TABSTOP, 252, 160, 48, 14
}

IDD_IDLG DIALOGEX 0, 0, 343, 253
STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "  Image Parameters"
FONT 8, "MS Sans Serif"
{
   CONTROL "Linear", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      12, 6, 24, 8, 0
   CONTROL "Sinusoidal", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      36, 6, 36, 8, 0
   CONTROL "Spherical", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      72, 6, 32, 8, 0
   CONTROL "Swirl", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      106, 6, 20, 8, 0
   CONTROL "Horseshoe", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      126, 6, 36, 8, 0
   CONTROL "Polar", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      164, 6, 20, 8, 0
   CONTROL "Bent", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      184, 6, 16, 8, 0
   CONTROL "Probability", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      215, 6, 36, 8, 0
   CONTROL "Number of Sets", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      280, 6, 52, 8, 0

   CONTROL "", IDC_IGB1, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE |
      WS_GROUP, 6, 16, 262, 25, 0
   CONTROL "", IDC_IRB1, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 18, 24, 12, 12, 0
   CONTROL "", IDC_IRB2, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 48, 24, 12, 12, 0
   CONTROL "", IDC_IRB3, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 84, 24, 12, 12, 0
   CONTROL "", IDC_IRB4, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 110, 24, 12, 12, 0
   CONTROL "", IDC_IRB5, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 140, 24, 12, 12, 0
   CONTROL "", IDC_IRB6, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 168, 24, 12, 12, 0
   CONTROL "", IDC_IRB7, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 188, 24, 12, 12, 0
   CONTROL "", IDC_IEDIT1, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP, 208, 24, 48, 12, 0

   CONTROL "", IDC_IGB2, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE |
      WS_GROUP, 6, 42, 262, 25, 0
   CONTROL "", IDC_IRB8, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 18, 50, 14, 12, 0
   CONTROL "", IDC_IRB9, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 48, 50, 12, 12, 0
   CONTROL "", IDC_IRB10, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 84, 50, 12, 12, 0
   CONTROL "", IDC_IRB11, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 110, 50, 14, 12, 0
   CONTROL "", IDC_IRB12, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 140, 50, 12, 12, 0
   CONTROL "", IDC_IRB13, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 168, 50, 12, 12, 0
   CONTROL "", IDC_IRB14, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 188, 50, 12, 12, 0
   CONTROL "", IDC_IEDIT2, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP, 208, 50, 48, 12, 0

   CONTROL "", IDC_IGB3, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE |
      WS_GROUP, 6, 68, 262, 25, 0
   CONTROL "", IDC_IRB15, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 18, 76, 14, 12, 0
   CONTROL "", IDC_IRB16, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 48, 76, 12, 12, 0
   CONTROL "", IDC_IRB17, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 84, 76, 12, 12, 0
   CONTROL "", IDC_IRB18, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 110, 76, 14, 12, 0
   CONTROL "", IDC_IRB19, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 140, 76, 12, 12, 0
   CONTROL "", IDC_IRB20, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 168, 76, 12, 12, 0
   CONTROL "", IDC_IRB21, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 188, 76, 12, 12, 0
   CONTROL "", IDC_IEDIT3, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP, 208, 76, 48, 12, 0

   CONTROL "", IDC_IGB4, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE |
      WS_GROUP, 6, 94, 262, 25, 0
   CONTROL "", IDC_IRB22, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 18, 102, 14, 12, 0
   CONTROL "", IDC_IRB23, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 48, 102, 12, 12, 0
   CONTROL "", IDC_IRB24, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 84, 102, 12, 12, 0
   CONTROL "", IDC_IRB25, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 110, 102, 14, 12, 0
   CONTROL "", IDC_IRB26, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 140, 102, 12, 12, 0
   CONTROL "", IDC_IRB27, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 168, 102, 12, 12, 0
   CONTROL "", IDC_IRB28, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 188, 102, 12, 12, 0
   CONTROL "", IDC_IEDIT4, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP, 208, 102, 48, 12, 0

   CONTROL "", IDC_IGB5, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE |
      WS_GROUP, 6, 120, 262, 25, 0
   CONTROL "", IDC_IRB29, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 18, 128, 14, 12, 0
   CONTROL "", IDC_IRB30, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 48, 128, 12, 12, 0
   CONTROL "", IDC_IRB31, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 84, 128, 12, 12, 0
   CONTROL "", IDC_IRB32, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 110, 128, 14, 12, 0
   CONTROL "", IDC_IRB33, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 140, 128, 12, 12, 0
   CONTROL "", IDC_IRB34, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 168, 128, 12, 12, 0
   CONTROL "", IDC_IRB35, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 188, 128, 12, 12, 0
   CONTROL "", IDC_IEDIT5, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP, 208, 128, 48, 12, 0

   CONTROL "", IDC_IGB6, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE |
      WS_GROUP, 6, 146, 262, 25, 0
   CONTROL "", IDC_IRB36, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 18, 154, 14, 12, 0
   CONTROL "", IDC_IRB37, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 48, 154, 12, 12, 0
   CONTROL "", IDC_IRB38, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 84, 154, 12, 12, 0
   CONTROL "", IDC_IRB39, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 110, 154, 14, 12, 0
   CONTROL "", IDC_IRB40, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 140, 154, 12, 12, 0
   CONTROL "", IDC_IRB41, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 168, 154, 12, 12, 0
   CONTROL "", IDC_IRB42, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 188, 154, 12, 12, 0
   CONTROL "", IDC_IEDIT6, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP, 208, 154, 48, 12, 0

   CONTROL "", IDC_IGB7, "button", BS_GROUPBOX | WS_CHILD | WS_VISIBLE |
      WS_GROUP, 276, 16, 60, 155, 0
   CONTROL "1", IDC_IRB43, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 300, 24, 20, 12, 0
   CONTROL "2", IDC_IRB44, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 300, 50, 20, 12, 0
   CONTROL "3", IDC_IRB45, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 300, 76, 20, 12, 0
   CONTROL "4", IDC_IRB46, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 300, 102, 20, 12, 0
   CONTROL "5", IDC_IRB47, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 300, 128, 20, 12, 0
   CONTROL "6", IDC_IRB48, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 300, 154, 20, 12, 0

   CONTROL " Zoom Parameters ", IDC_IGB8, "button", BS_GROUPBOX | WS_CHILD |
      WS_VISIBLE | WS_GROUP, 6, 180, 190, 42, 0
   CONTROL "", IDC_IEDIT7, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 18, 192, 48, 12, 0
   CONTROL "scale [1.0]", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      24, 208, 36, 8, 0
   CONTROL "", IDC_IEDIT8, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 76, 192, 48, 12, 0
   CONTROL "x center", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      86, 208, 28, 8, 0
   CONTROL "", IDC_IEDIT9, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 136, 192, 48, 12, 0
   CONTROL "y center", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      148, 208, 28, 8, 0

   CONTROL "  Oversampling Factor  ", IDC_IGB9, "button", BS_GROUPBOX |
      WS_CHILD | WS_VISIBLE | WS_GROUP, 208, 180, 128, 42, 0
   CONTROL "1", IDC_IRB49, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 224, 200, 24, 12, 0
   CONTROL "2", IDC_IRB50, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 262, 200, 24, 12, 0
   CONTROL "3", IDC_IRB51, "button", BS_AUTORADIOBUTTON | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 300, 200, 24, 12, 0

   CONTROL "OK", IDOK, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 6, 231, 60, 14
   CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | BS_CENTER |
      WS_CHILD | WS_VISIBLE | WS_TABSTOP, 136, 231, 60, 14
   CONTROL "Random Set", IDC_RANDOM, "button", BS_PUSHBUTTON | BS_CENTER |
      WS_CHILD | WS_VISIBLE | WS_TABSTOP, 276, 231, 60, 14
}

IDD_FDLG DIALOGEX 0, 0, 279, 220
STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "  Color Parameters"
FONT 8, "MS Sans Serif"
{
   CONTROL "  filter radius (pixels)  ", IDC_FGB1, "button", BS_GROUPBOX |
      WS_CHILD | WS_VISIBLE | WS_GROUP, 4, 4, 271, 48, 0
   CONTROL "TrackBar1", IDC_FTB1, "msctls_trackbar32",
      WS_CHILD | WS_VISIBLE, 11, 15, 256, 16, 0
   CONTROL "1", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      16, 36, 8, 8, 0
   CONTROL "100", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      254, 36, 12, 8, 0
   CONTROL "", IDC_FEDIT1, "edit", ES_CENTER | ES_READONLY | WS_CHILD |
      WS_VISIBLE | WS_BORDER, 130, 35, 18, 10

   CONTROL "  brightness  ", IDC_FGB2, "button",
      BS_GROUPBOX | WS_CHILD | WS_VISIBLE | WS_GROUP, 4, 56, 271, 48, 0
   CONTROL "TrackBar2", IDC_FTB2, "msctls_trackbar32",
      WS_CHILD | WS_VISIBLE, 11, 67, 256, 16, 0
   CONTROL "-100", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      10, 88, 16, 8, 0
   CONTROL "100", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      254, 88, 12, 8, 0
   CONTROL "", IDC_FEDIT2, "edit", ES_CENTER | ES_READONLY | WS_CHILD |
      WS_VISIBLE | WS_BORDER, 130, 87, 18, 10

   CONTROL "  gamma  ", IDC_FGB3, "button", BS_GROUPBOX | WS_CHILD |
      WS_VISIBLE | WS_GROUP, 4, 108, 271, 32, 0
   CONTROL "", IDC_FEDIT3, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP | ES_AUTOHSCROLL, 16, 120, 50, 12, 0
   CONTROL "range:  0.1 - 10.0   (1.0 = no effect)", -1, "static", SS_LEFT |
      WS_CHILD | WS_VISIBLE, 78, 122, 180, 8, 0

   CONTROL "  Background Color ( 0 - 255 ) ", IDC_FGB4, "button", BS_GROUPBOX |
   	WS_CHILD | WS_VISIBLE | WS_GROUP, 4, 146, 144, 66, 0
   CONTROL "", IDC_FEDIT4, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP, 62, 158, 80, 12, 0
   CONTROL "", IDC_FEDIT5, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP, 62, 176, 80, 12, 0
   CONTROL "", IDC_FEDIT6, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE |
      WS_BORDER | WS_TABSTOP, 62, 194, 80, 12, 0
   CONTROL "red:", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      12, 160, 24, 8, 0
   CONTROL "green:", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      12, 178, 24, 8, 0
   CONTROL "blue:", -1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE,
      12, 196, 24, 8, 0

   CONTROL "OK", IDOK, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD |
      WS_VISIBLE | WS_TABSTOP, 165, 194, 36, 14
   CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | BS_CENTER |
      WS_CHILD | WS_VISIBLE | WS_TABSTOP, 227, 194, 36, 14
}
